<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

<title>S3 Wireless Internet Service</title>

<script type="text/javascript"> 
function get_param(name)
{
    if (location.href.indexOf("?") >= 0) { 
        var query=location.href.split("?")[1];
        var params=query.split("&");
        for (var i = 0; i < params.length; i ++) {
            value_pair=params[i].split("=");
            if (value_pair[0] == name)
                return unescape(value_pair[1]);
        }
    }
    return "";
}
</script>

</head>
<body>
<script type="text/javascript"> 
document.write('<form method=POST action="http://' + get_param("sip") + ':9997/login">');
</script>
<center>
<div style="border: 1px solid #0B55C4;width: 450px;text-align:right;margin-top: 200px;background: url('bg.gif') repeat-x scroll 0 0 #547DB5;">
	<div style="color: #0B55C4;float:left;width:100%;text-align:left;padding:10px;font-family:Arial,Helvetica,sans-serif;font-weight:bold;">
		<img src="s3.png" valign="absmiddel" style="float:left;margin-right: 20px;" width="75px" height="75px" />
		<div style="float:left;padding-top:35px;font-size: 20px;">S3 Wireless Internet Login Page</div>
	</div>
	<div style="color: #0B55C4; font-family: Arial,Helvetica,sans-serif;font-size: 14px;text-align:left;margin-left: 150px;">
		<form method="POST" action="http://:9997/login">
			<div style="margin-bottom: 11px;">Username: <input name="username" type="text"></div>		
			<div style="margin-bottom: 11px;">Password: &nbsp;<input name="password" type="password"></div>
			<!-- forwarding the original url -->
			<script type="text/javascript"> 
				document.write('<input type="hidden" name="url" value="' + get_param("url") + '">');
			</script>
			<input name="url" value="" type="hidden">
			<input value="Login" type="submit" style="background: #0B55C4;border: black;width:55px;height: 20px;margin-left: 73px;color:white;">
		</form>
	</div>
	<p style="color: #0B55C4;text-align:left;margin-left:110px;">The address of the associated access point is
		<script type="text/javascript"> 
		document.write(get_param("mac"));
		</script>
	</p>
</div>
</center>
</body>
</html>